﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="PaginaAnalise.aspx.cs" Inherits="Manager.PaginaAnalise" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="Requisitos.ascx" TagName="Requisitos" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .watermarked
        {
            color: #CCCCCC;
            background-color: White;
            padding: 2px;
            font-size: 25px;
        }
        
        .nonwatermarked
        {
            font-size: 25px;
            color: Black;
            background-color: White;
            padding: 2px;
        }
        
        transbox
        {
            margin: 8px;
            background-color: #ffffff;
            border: 1px solid black;
            filter: alpha(opacity=60);
            opacity: 0.2;
        }
        .style1
        {
            width: 406px;
        }
        .style2
        {
            width: 256px;
        }
        .style3
        {
            width: 96px;
        }
        
        .hightlight
        {
            background-color: Red;
        }
        .none
        {
            display: none;
        }
        .combobox
        {
            bordercolor: Red;
            borderstyle: Solid;
            borderwidth: 2px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div style="height: auto; width: auto; padding-top: 10px; padding-left: 10px">
     <div style="margin-top: 15px; margin-right: 15px; height: 26px; background-image: url('Imagens/Topitos_Layout.png'); padding-left: 4px;">
            
            <asp:Label ID="Label3" runat="server" Font-Size="Medium" ForeColor="White" 
                Text="Requisitos funcionais."></asp:Label>
            
        </div>
        <div style="margin-right: 15px; margin-bottom: 15px; padding-bottom: 4px padding-left: 4px; background-color: #FFFFFF; ">
        <table>
            <tr>
                <td class="style1" style="padding-left: 6px">
                    <asp:TextBox ID="txtNomeRequisito" runat="server" Height="18px" Width="400px" CssClass="nonwatermarked"
                        Font-Names="Calibri" Font-Size="16px" BorderColor="Red" BorderStyle="Solid" BorderWidth="2px"></asp:TextBox>
                    <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server" TargetControlID="txtNomeRequisito"
                        WatermarkText="Nome Requisito" WatermarkCssClass="watermarked">
                    </asp:TextBoxWatermarkExtender>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="O campo 'Nome Requisito' esta em branco, ele deve ser preenchido"
                        Display="None" ControlToValidate="txtNomeRequisito">
                    </asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RequiredFieldValidator3"
                        Width="300px" PopupPosition="Right" CloseImageUrl="~/ImagensErros/Cancelar1.png"
                        WarningIconImageUrl="~/ImagensErros/Atencao.png">
                    </asp:ValidatorCalloutExtender>
                </td>
                <td>
                    <asp:CheckBox ID="cbOculto" runat="server" Font-Bold="True" Font-Names="Verdana"
                        Font-Size="Small" ForeColor="Black" Text="Oculto" />
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td style="padding-left: 6px">
                    <asp:TextBox ID="txtDescricao" runat="server" Height="60px" Width="400px" CssClass="nonwatermarked"
                        Font-Names="Calibri" Font-Size="16px" BorderColor="Red" BorderStyle="Solid" BorderWidth="2px"
                        TextMode="MultiLine"></asp:TextBox>
                    <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="txtDescricao"
                        WatermarkText="Descrição" WatermarkCssClass="watermarked">
                    </asp:TextBoxWatermarkExtender>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="O campo 'Descrição' esta em branco, ele deve ser preenchido"
                        Display="None" ControlToValidate="txtDescricao">
                    </asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RequiredFieldValidator2"
                        Width="300px" PopupPosition="Right" CloseImageUrl="~/ImagensErros/Cancelar1.png"
                        WarningIconImageUrl="~/ImagensErros/Atencao.png">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td style="padding-left: 6px">
                    <asp:ImageButton ID="btCriarRequisitos" runat="server" ImageUrl="~/Botao/btRequisitoFuncional.png"
                        OnClick="btCriarRequisitos_Click" />
                </td>
                <td style="padding-left: 5px">
                    <asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/Botao/btLimpar.png"
                        OnClick="ImageButton5_Click" />
                </td>
            </tr>
        </table>
        <asp:GridView ID="gwRequisito" runat="server" AutoGenerateColumns="False" CellPadding="4"
            ForeColor="#333333" GridLines="None" Visible="False" Width="742px">
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                <asp:BoundField DataField="codigo">
                    <HeaderStyle HorizontalAlign="Left" Width="14px" />
                    <ItemStyle HorizontalAlign="Left" Width="14px" />
                </asp:BoundField>
                <asp:BoundField DataField="nomeRequisito" HeaderText="Requisito">
                    <HeaderStyle HorizontalAlign="Left" Width="230px" />
                    <ItemStyle HorizontalAlign="Left" Width="230px" />
                </asp:BoundField>
                <asp:CheckBoxField DataField="oculto" HeaderText="Oculto">
                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                </asp:CheckBoxField>
                <asp:BoundField DataField="descricao" HeaderText="Descrição">
                    <HeaderStyle HorizontalAlign="Left" />
                    <ItemStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:ImageButton ID="btGridEditar" runat="server" ImageUrl="~/Botao/bt_Edit.png"
                            OnClick="btGridEditar_Click" ToolTip="Editar requisito" />
                    </ItemTemplate>
                    <ItemStyle Width="10px" />
                </asp:TemplateField>
            </Columns>
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView>
        </div>

         <div style="margin-top: 15px; margin-right: 15px; height: 26px; background-image: url('Imagens/Topitos_Layout.png'); padding-left: 4px;">
            
            <asp:Label ID="Label1" runat="server" Font-Size="Medium" ForeColor="White" 
                Text="Requisitos não funcionais."></asp:Label>
            
        </div>
         <div style="margin-right: 15px; margin-bottom: 15px; padding-left: 4px; background-color: #FFFFFF; ">
        <table style="width: 100%; height: 100%">
            <tr>
                <td>
                    <asp:TextBox ID="txtNomeRequisitoNaoFuncional" runat="server" Height="18px" Width="400px"
                        CssClass="nonwatermarked" Font-Names="Calibri" Font-Size="16px" BorderColor="Red"
                        BorderStyle="Solid" BorderWidth="2px" BackColor="Silver" Enabled="False"></asp:TextBox>
                    <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" TargetControlID="txtNomeRequisitoNaoFuncional"
                        WatermarkText="Nome requisito não funcional" WatermarkCssClass="watermarked">
                    </asp:TextBoxWatermarkExtender>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtRestricao" runat="server" Height="60px" Width="400px" CssClass="nonwatermarked"
                        Font-Names="Calibri" Font-Size="16px" BorderColor="Red" BorderStyle="Solid" BorderWidth="2px"
                        BackColor="Silver" Enabled="False" TextMode="MultiLine"></asp:TextBox>
                    <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server" TargetControlID="txtRestricao"
                        WatermarkText="Restrição" WatermarkCssClass="watermarked">
                    </asp:TextBoxWatermarkExtender>
                </td>
            </tr>
        </table>
        <table style="width: 100%; height: 100%">
            <tr>
                <td class="style2">
                    <asp:DropDownList ID="ddCategoria" runat="server" Width="250px" Font-Names="Calibri"
                        Font-Size="20px" BackColor="Silver" Enabled="False" CssClass="combobox">
                        <asp:ListItem>Usabilidade</asp:ListItem>
                        <asp:ListItem>Confiabilidade</asp:ListItem>
                        <asp:ListItem>Performace</asp:ListItem>
                        <asp:ListItem>Configurabilidade</asp:ListItem>
                        <asp:ListItem>Segurança</asp:ListItem>
                        <asp:ListItem>Implementação</asp:ListItem>
                        <asp:ListItem>Interface</asp:ListItem>
                        <asp:ListItem>Empacotamento</asp:ListItem>
                        <asp:ListItem>Legais</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="style3">
                    <asp:CheckBox ID="cbDesejavel" runat="server" Font-Bold="True" Font-Names="Verdana"
                        Font-Size="Small" ForeColor="Black" Text="Desejável" Enabled="False" />
                </td>
                <td>
                    <asp:CheckBox ID="cbPermanente" runat="server" Font-Bold="True" Font-Names="Verdana"
                        Font-Size="Small" ForeColor="Black" Text="Permanente" Enabled="False" />
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td>
                    <asp:ImageButton ID="btCriarRequisitosNaoFuncionais" runat="server" ImageUrl="~/Botao/btRequisitoNaoFuncional.png"
                        OnClick="btCriarRequisitosNaoFuncionais_Click" Enabled="False" />
                </td>
                <td style="padding-left: 5px">
                    <asp:ImageButton ID="ImageButton7" runat="server" ImageUrl="~/Botao/btLimpar.png"
                        Enabled="False" OnClick="ImageButton7_Click" />
                </td>
            </tr>
        </table>
        <asp:GridView ID="gwRequisitoNaoFuncionarl" runat="server" AutoGenerateColumns="False"
            CellPadding="4" ForeColor="#333333" GridLines="None" Visible="False" Width="811px">
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                <asp:BoundField DataField="codigo">
                    <HeaderStyle HorizontalAlign="Left" Width="14px" />
                    <ItemStyle HorizontalAlign="Left" Width="14px" />
                </asp:BoundField>
                <asp:BoundField DataField="nome" HeaderText="Requisito não funcional">
                    <HeaderStyle HorizontalAlign="Left" Width="230px" />
                    <ItemStyle HorizontalAlign="Left" Width="230px" />
                </asp:BoundField>
                <asp:BoundField DataField="restricao" HeaderText="Restrição">
                    <HeaderStyle HorizontalAlign="Left" />
                    <ItemStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="categoria" HeaderText="Categoria">
                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                </asp:BoundField>
                <asp:CheckBoxField DataField="desejavel" HeaderText="Desejável">
                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                </asp:CheckBoxField>
                <asp:CheckBoxField DataField="permanente" HeaderText="Pemanente">
                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                </asp:CheckBoxField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:ImageButton ID="btGridNaoEditar" runat="server" ImageUrl="~/Botao/bt_Edit.png"
                            OnClick="btGridNaoEditar_Click" ToolTip="Editar requisito não funcional" />
                    </ItemTemplate>
                    <ItemStyle Width="10px" />
                </asp:TemplateField>
            </Columns>
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView>
        <table>
            <tr>
                <td style="padding-left: 13px">
                    <asp:ImageButton ID="btMontaRequisitos" runat="server" ImageUrl="~/Botao/btRequisito.png"
                        OnClick="btMontaRequisitos_Click" />
                </td>
            </tr>
        </table>
        </div>
        <div align="center" style="padding-top: 5px; margin-bottom: 10px; padding-bottom: 10px">
            <uc1:Requisitos ID="Requisitos1" runat="server" Visible="false" />
        </div>
    </div>
</asp:Content>
